package com.yangl.dao;

import com.yangl.domain.User;

import java.util.List;

public interface UserDao {

    /**
     * @param userId
     * @return User
     */
    User selectUserById(Integer userId);

    List<User> selectUserAll();

    boolean addUser(User user);

    boolean updateUserById(User user);

    boolean deleteUserById(int userId);
}
